<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/6/21
  Time: 18:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>caculate</title>
</head>
<body>
<!-- jsp
九大内置对象，就是9个对象，只不过这九个对象是别人创建好的
out 输出对象
page 当前页面对象
pageContext 当前页面上下文对象
request 请求对象
response 响应对象
session 会话对象
application 应用程序
config 配置对象
exception 异常对象
-->
<form action="index.jsp">
    请输入用户名<input type="text" name="userName">
    <a href="index.jsp">aaaa</a>
    <br/>
    <button type="submit">submit
    </button>
</form>


<%
    int a=5;
    int b = 3;
    int c = a+b;
%>
<%=c%>
</body>
</html>
